import SliderConstructor from "./Slider.vue";
import { render, createVNode } from "vue";
import { ZIndexManager } from "@bidiao/framework";

let seed = 1;

function normalizeOptions(params?) {}
function createSlider(options) {
  const id = `slider_${seed++}`;
  const container = document.createElement("div");
  const props = {
    id,
  };

  document.body.appendChild(container);

  const vm = createVNode(SliderConstructor);
  render(vm, container);
}
function slider(options = {}, context) {
  return createSlider(options);
}
